package kxfang.com.common.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ZJ
 * on 2020/5/30
 * Class Content 美食分类
 */
public class LifeClassModel implements Parcelable {

    /**
     * ID : 0
     * ClassName : string
     * Label : string
     * ClassUrl : string
     * Statu : 0
     * CType : 0
     * CMemo : string
     * RUserID : 0
     * StoreID : string
     * ShowOrder : 0
     * GoodsNum : 0
     */

    private int ID;
    private String ClassName;
    private String Label;
    private String ClassUrl;
    private int Statu;
    private int CType;
    private String CMemo;
    private String StoreID;
    private int ShowOrder;
    private int GoodsNum;

    protected LifeClassModel(Parcel in) {
        ID = in.readInt();
        ClassName = in.readString();
        Label = in.readString();
        ClassUrl = in.readString();
        Statu = in.readInt();
        CType = in.readInt();
        CMemo = in.readString();
        StoreID = in.readString();
        ShowOrder = in.readInt();
        GoodsNum = in.readInt();
    }

    public static final Creator<LifeClassModel> CREATOR = new Creator<LifeClassModel>() {
        @Override
        public LifeClassModel createFromParcel(Parcel in) {
            return new LifeClassModel(in);
        }

        @Override
        public LifeClassModel[] newArray(int size) {
            return new LifeClassModel[size];
        }
    };

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getClassName() {
        return ClassName;
    }

    public void setClassName(String ClassName) {
        this.ClassName = ClassName;
    }

    public String getLabel() {
        return Label;
    }

    public void setLabel(String Label) {
        this.Label = Label;
    }

    public String getClassUrl() {
        return ClassUrl;
    }

    public void setClassUrl(String ClassUrl) {
        this.ClassUrl = ClassUrl;
    }

    public int getStatu() {
        return Statu;
    }

    public void setStatu(int Statu) {
        this.Statu = Statu;
    }

    public int getCType() {
        return CType;
    }

    public void setCType(int CType) {
        this.CType = CType;
    }

    public String getCMemo() {
        return CMemo;
    }

    public void setCMemo(String CMemo) {
        this.CMemo = CMemo;
    }

    public String getStoreID() {
        return StoreID;
    }

    public void setStoreID(String StoreID) {
        this.StoreID = StoreID;
    }

    public int getShowOrder() {
        return ShowOrder;
    }

    public void setShowOrder(int ShowOrder) {
        this.ShowOrder = ShowOrder;
    }

    public int getGoodsNum() {
        return GoodsNum;
    }

    public void setGoodsNum(int GoodsNum) {
        this.GoodsNum = GoodsNum;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(ID);
        dest.writeString(ClassName);
        dest.writeString(Label);
        dest.writeString(ClassUrl);
        dest.writeInt(Statu);
        dest.writeInt(CType);
        dest.writeString(CMemo);
        dest.writeString(StoreID);
        dest.writeInt(ShowOrder);
        dest.writeInt(GoodsNum);
    }
}
